From 13e64f66d86d50b6fe5cbf6a66bc7bd738cd69d7 Mon Sep 17 00:00:00 2001 From: Luc Teirlinck Date: Sat, 1 May 2004 20:10:19 +0000 Subject: [PATCH] (kill-whole-line): Use "p" instead of "P" in interactive form. --- lisp/simple.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lisp/simple.el b/lisp/simple.el index b32d2408880..f4072e23a7a 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -2397,8 +2397,7 @@ With prefix arg, kill that many lines starting from the current line. If arg is negative, kill backward. Also kill the preceding newline. \(This is meant to make C-x z work well with negative arguments.\) If arg is zero, kill current line but exclude the trailing newline." - (interactive "P") - (setq arg (prefix-numeric-value arg)) + (interactive "p") (if (and (> arg 0) (eobp) (save-excursion (forward-visible-line 0) (eobp))) (signal 'end-of-buffer nil)) (if (and (< arg 0) (bobp) (save-excursion (end-of-visible-line) (bobp))) -- 2.30.2